﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using AttributeRouting.Web.Http;
using WS.EKA.Core.DI;
using WS.EKA.Model;
using WS.EKA.ServiceInterface;
using WS.EKA.Utilities.Consts;
using WS.EKA.Portal.Filters;
using System.Web.Http;

namespace WS.EKA.Portal.Controllers
{
    public class DispatchModeController : ApiController
    {
        private IDispatchMode dispatchMode;
        public DispatchModeController(IDispatchMode dispatchMode)
        {
            this.dispatchMode = dispatchMode;
        }

        public List<DispatchMode> Get()
        {
            return dispatchMode.GetList();
        }
    }
}